from Products.CMFCore import CMFCorePermissions
from AccessControl import getSecurityManager, ClassSecurityInfo
from Products.Archetypes.public import *
from Products.Archetypes.interfaces.orderedfolder import IOrderedFolder
from Products.ATContentTypes.atct import ATFolder, ATFolderSchema
from Products.GrupoVisao.config import *

resultado_provas_schema = ATFolderSchema.copy()

class folder_resultado_provas(ATFolder):
    
    """A frequently asked questions list."""
    schema = resultado_provas_schema
    
    archetype_name = 'Pasta dos resultados das provas'

    meta_type = 'folder_resultado_provas'
    portal_type = 'folder_resultado_provas'
    #content_icon                = "destaques_icon.gif"
    filter_content_types        = True
    allowed_content_types       = ['resultado_prova']
    archetype_name          = "folder_resultado_provas"
    #default_view                = "area_cientifica_view"
    #immediate_view              = "area_cientifica_view"
    #suppl_views         = ( "folder_summary_view", "folder_tabular_view" )

    security            = ClassSecurityInfo()
    security.declarePublic("listFolderContents")

registerType(folder_resultado_provas, PROJECTNAME)